package com.example.dairenkun.neufoodshop.service;


import com.example.dairenkun.neufoodshop.bean.Shop;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/4/10.
 */

public interface ShopService {
    //获取店铺列表
    @GET("getAllShops.do")
    Call<List<Shop>> getAllShop();
    //获取店铺详情
    @GET("getShopById.do")
    Call<Shop> getShopDetail(
            @Query("shop_id") int shop
    );
}
